//
//  CusCollectionViewCell.m
//  22-QMusicMVHomework
//
//  Created by dllo on 16/8/13.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "CusCollectionViewCell.h"
#import "UIImageView+WebCache.h"
#import "MvList.h"
@interface CusCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *singerNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *mvDescLabel;

@end

@implementation CusCollectionViewCell

- (void)setMvList:(MvList *)mvList {
    _mvList = mvList;
    [_picImageView sd_setImageWithURL:[NSURL URLWithString:mvList.picurl]];
    _singerNameLabel.text = [NSString stringWithFormat:@"%@-%@", mvList.mvtitle, mvList.singername];
    _mvDescLabel.text = mvList.mvdesc;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
